<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/common/common.jsp"%>

<ul class="sub-menu">
<c:forEach items="${menu.menus }" var="menu">
	
	<c:if test="${menu.visibility=='0' }">
		
		<li class="nav-item ${(fn:contains(navId, menu.id))?'active open ':''}">
			<a href="${fn:length(menu.menus)>0?'javascript:; ':basePath }${fn:length(menu.menus)>0?'javascript:; ':menu.url } " class="nav-link ${fn:length(menu.menus)>0?'nav-toggle':'' }">
	         <i class="icon-briefcase"></i>
	         <span class="title">${menu.name } ${fn:contains(navId, menu.id)?'true':''}</span>
	        	<c:if test="${fn:contains(navId, menu.id)}">
	        		<span class="selected"></span>
	        	</c:if>
	         <span class="${fn:length(menu.menus)>0?'arrow':'' }  ${(fn:contains(navId, menu.id))?'open ':''}"></span>
	     	</a>
	     	<c:if test="${fn:length(menu.menus)>0 }">
	     		<c:set var="menu" value="${menu}" scope="request"/>
	     		<jsp:include page="/manage/page-sidebar-import.jsp"/>  
	     	</c:if>
	     	
		</li>
		
	</c:if>

	
</c:forEach>
</ul>
